net/http.transferWriter.Body (field)
21 uses
net/http (current package)
transfer.go#L64: Body io.Reader
transfer.go#L94: t.Body = rr.Body
transfer.go#L107: if t.ContentLength != 0 && !isKnownInMemoryReader(t.Body) {
transfer.go#L117: t.Body = rr.Body
transfer.go#L130: t.Body = nil
transfer.go#L135: if !atLeastHTTP11 || t.Body == nil {
transfer.go#L140: } else if t.Body == nil { // no chunking, no body
transfer.go#L181: if t.ContentLength >= 0 || t.Body == nil { // redundant checks; caller did them
transfer.go#L192: return t.Body != nil
transfer.go#L227: }(t.Body)
transfer.go#L234: t.Body = nil
transfer.go#L238: t.Body = io.MultiReader(&byteReader{b: rres.b}, errorReader{rres.err})
transfer.go#L240: t.Body = io.MultiReader(&byteReader{b: rres.b}, t.Body)
transfer.go#L243: t.Body = errorReader{rres.err}
transfer.go#L250: t.Body = io.MultiReader(finishAsyncByteRead{t}, t.Body)
transfer.go#L362: if !t.ResponseToHEAD && t.Body != nil {
transfer.go#L438: if r, ok := unwrapNopCloser(t.Body); ok {
transfer.go#L441: if r, ok := t.Body.(*readTrackingBody); ok {
transfer.go#L445: return t.Body
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)